package com.wj.infrastructure.mapper;

import com.wj.domain.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @description: 
 * @author: wj
 * @create: 2022/5/12 14:29
 */
@Mapper
public interface UserMapper {

    @Select(" select id,username,password from user " +
            " where username=#{username} and password=#{password}")
    UserVO findUser(String username, String password);
}
